<%@ page contentType="text/html;charset=UTF-8" language="java" %>
    <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
        <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
            <% String path=request.getContextPath(); String basePath=request.getScheme() + "://" +
                request.getServerName() + ":" + request.getServerPort() + path + "/" ; %>
                <html>

                <head>
                    <title>Register</title>
                    <link rel="stylesheet" href="./css/login.css" type="text/css">
                    <script type="text/javascript" src="js/jump.js"></script>
                </head>

                <body>

                    <body class="bgimg">
                        <div>
                            <div class="login-box">
                                <form action="RegisterController/homePage" method="post" name="f">
                                    <h2>学生管理系统-注册</h2>
                                    <div class="login-field">
                                        <img src="<%= basePath%>img/user.png" />
                                        <input type="text" placeholder="请输入用户名" name="username" id="username" />
                                    </div>
                                    <div class="login-field">
                                        <img src="<%= basePath%>img/password.png" />
                                        <input type="password" placeholder="请输入密码" name="password" id="password" />
                                    </div>
                                    <div class="login-sub">
                                        <button type="submit">注册</button>
                                        <button type="button" onclick="forLogin()">返回登录!</button>
                                    </div>
                                </form>

                            </div>
                        </div>

                    </body>
                </body>

                </html>